package org.wanho.manager.service.impl;

import org.wanho.manager.dao.UserDao;
import org.wanho.manager.dao.impl.UserDaoImpl;
import org.wanho.manager.entity.User;
import org.wanho.manager.service.UserService;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2023-04-23 14:34
 * Description：<描述>
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao = new UserDaoImpl();

    @Override
    public List<User> findAll() {
        return userDao.selectAll();
    }
}
